/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

/**
 *
 * @author moustafa
 */
public class Product {
    private int id;
    private String name;
    private String description;
    private String imageURL;
    private String status;
    private float listPrice;
    private float minPrice;
    private String catalogURL;
    /**
     * TODO:
     */
    //, category_id         INTEGER(2)
    //, weight_class        INTEGER(1)
    //, warranty_period     INTEGER(2)

    public Product(String name, String description, String imageURL, String status, float listPrice, float minPrice, String catalogURL){
        this.name = name;
        this.description = description;
        this.status = status;
        this.minPrice = minPrice;
        this.listPrice = listPrice;
        this.catalogURL = catalogURL;
        this.imageURL = imageURL;
    }

    public Product(int id, String name, String description, String imageURL, String status, float listPrice, float minPrice, String catalogURL){
        this.id = id;
        this.name = name;
        this.description = description;
        this.status = status;
        this.minPrice = minPrice;
        this.listPrice = listPrice;
        this.catalogURL = catalogURL;
        this.imageURL = imageURL;
    }

    public void setCatalogURL(String catalogURL) {
        this.catalogURL = catalogURL;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setImageURL(String imageURL) {
        this.imageURL = imageURL;
    }

    public void setListPrice(float listPrice) {
        this.listPrice = listPrice;
    }

    public void setMinPrice(float minPrice) {
        this.minPrice = minPrice;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCatalogURL() {
        return catalogURL;
    }

    public String getDescription() {
        return description;
    }

    public int getID() {
        return id;
    }

    public String getImageURL() {
        return imageURL;
    }

    public float getListPrice() {
        return listPrice;
    }

    public float getMinPrice() {
        return minPrice;
    }

    public String getName() {
        return name;
    }

    public String getStatus() {
        return status;
    }

}
